<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../struts_taglib.jsp"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>  
  <title>二级科目/新增</title>
  <%@include file="../link_script.jsp" %>
    <script type="text/javascript">
    $(function() { 
      $("form").validity(function() {
        $("#ssName").require();
        $("#ssCode").require();
      });
    });
  </script>
</head>
<body> 
<form action="subject.do?method=addSubject_Do" method="post" target="_self">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <%@include file="../operate_button_add.jsp" %>
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="8" background="images/tab_12.gif">&nbsp;</td>
        <td><table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#b5d6e6">       
          <tr>
            <td width="100%" class="STYLE32">新增二级科目</td>
          </tr>
          <tr>
            <td class="STYLE11"><table width="100%" border="0" bordercolor="#b5d6e6" cellpadding="0" cellspacing="0">
              <tr>
                <td class="STYLE51">&nbsp;&nbsp;上级科目名称/代码 : </td>
                <td class="STYLE11"><input type="text" id="subParentID" name="subParentID" value="${subject.subCode }" size="20" readonly />
                <br/></td>
              </tr>
              <tr>
                <td class="STYLE51">&nbsp;&nbsp;科目名称 : </td>
                <td class="STYLE11"><input type="text" id="subName" name="subName" size="20" title="科目名称不能为空" /></td>
              </tr>
              <tr>
                <td class="STYLE51">&nbsp;&nbsp;科目代码 : </td>
                <td class="STYLE11"><input type="text" id="subCode" name="subCode" value="${subject.subCode}" size="20" title="科目代码不能为空" /></td>
              </tr>
              <tr>
                <td class="STYLE51">&nbsp;&nbsp;描述 : </td>
                <td class="STYLE11"><input type="text" id="subDesc" name="subDesc" size="50" /></td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td class="STYLE12">&nbsp;<input type="submit" value="提交"/><input type="reset" value="取消"/></td>
          </tr>
        </table></td>
        <td width="8" background="images/tab_15.gif">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <%@include file="../no_page.jsp" %>
</table>
</form>
</body>
</html>
